package org.wdh.ep.roguetile;

class Branch extends Tree {
	public Integer value;
	public Tree left;
	public Tree right;
	public int accumulate(Operator o) {
		return o.applay(this.value.intValue(), o.applay(this.left.accumulate(o), this.right.accumulate(o)));
	}
	
}
